package com.isp.common.model.graph;

/**
 * 点位DTO
 */
public class PointDTO {

    private final Long id;
    /**
     * 纬度
     */
    private final double latitude;
    /**
     * 经度
     */
    private final double longitude;

    public PointDTO(Long id, double latitude, double longitude) {
        this.id = id;
        this.latitude = latitude;
        this.longitude = longitude;
    }

    public Long getId() {
        return id;
    }

    public double getLatitude() {
        return latitude;
    }

    public double getLongitude() {
        return longitude;
    }

}